package com.example.recyclerview_deep.holder;

import android.view.View;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.example.recyclerview_deep.R;

//普通类型ViewHolder
public class NormalHolder extends RecyclerView.ViewHolder {
    TextView mIv_head;
    TextView mTv_name;

    public NormalHolder(@NonNull View itemView) {
        super(itemView);
        mIv_head = itemView.findViewById(R.id.tv_price);
        mTv_name = itemView.findViewById(R.id.tv_name);
    }

    public TextView getmIv_head() {
        return mIv_head;
    }

    public TextView getmTv_name() {
        return mTv_name;
    }
}
